package com.duyu.gulimall.product.feign;


import com.duyu.common.to.SpuBoundTo;
import com.duyu.common.utils.R;
import com.duyu.gulimall.product.Vo.SkuReductionTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@FeignClient("gulimall-coupon")
public interface  CouponFeignService {
    @PostMapping("/coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);
    @PostMapping("/coupon/skufullreduction/saveInfo")
    R saveSpuReduction(@RequestBody SkuReductionTO skuReductionTO);
}
